package org.vectrics.common.reporting.pdf;

import com.lowagie.text.*;


/**
 * @author mmoore
 */
public class ReportUtil {
	static public String notGivenPhrase = "Not Specified";
	
	static public Phrase createPhrase(String caption, Font font) {
		String text = caption;
		if ((text == null) || (text.length() <= 0)) {
			text = notGivenPhrase;
		}
		Phrase phrase = new Phrase(text, font);	
		return(phrase);
	}
	
}
